package com.xianghualin.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;
import java.util.List;

/**
 * Post 文章实体类
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Post {
    /**
     * 文章的基本属性
     */
    private User user;
    private int postId;
    private int postBoardId;
    private String postUserName;
    private String postTitle;
    private String postContent;
    private int postGoodCount;
    private int postBadCount;
    private int postViewCount;
    private int postReplyCount;
    private int postStatus;
    private Timestamp postCreateTime;
    private Timestamp postUpdateTime;
    private List<Reply> replies;
}
